﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="log">
		<xs:complexType>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="logentry">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="author" type="xs:string" />
							<xs:element name="date" type="xs:dateTime" />
							<xs:element name="paths">
								<xs:complexType>
									<xs:sequence>
										<xs:element maxOccurs="unbounded" name="path">
											<xs:complexType>
												<xs:simpleContent>
													<xs:extension base="xs:string">
														<xs:attribute name="action" type="xs:string" use="required" />
														<xs:attribute name="copyfrom-path" type="xs:string" use="optional" />
														<xs:attribute name="copyfrom-rev" type="xs:unsignedShort" use="optional" />
													</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="msg" type="xs:string" />
						</xs:sequence>
						<xs:attribute name="revision" type="xs:unsignedShort" use="required" />
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>